{% extends "base_en.html" %}
{% block content %}
<script src="/static/javascripts/xms_en.js" type="text/javascript"></script>
<div style="width:320px">
<fieldset>
<legend>{%if legendname %}{{legendname}}{%else%}Join ExpensesBook{%endif%}</legend>
<form id="joinform" method="post" action="/{{action}}/" onsubmit="return verifyJoinForm()">
<table>
	<tr>
		<td>Email:
		</td>
		<td>
		</td>
		<td >
			<input style="width:180px" id="email" name="email" type="text" readonly="readonly" value="{{email|escape}}"/>
		</td>
	</tr>
	<tr>
		<td>NickName:
		</td>
		<td>
		</td>
		<td >
			<input {%if disable_name%}readonly="readonly"{%endif%} style="width:140px" id="nickname" name="nickname" type="text"  value="{{nickname|escape}}"/>
		</td>
	</tr>
	<tr>
		<td >Language:
		</td>
		<td >
		</td>
		<td>
			<input {%ifequal lang 'en-us' %}checked="checked"{%endifequal%} type="radio" name="lang" value="en-us"/> English
			<input {%ifequal lang 'zh-cn' %}checked="checked"{%endifequal%} type="radio" name="lang" value="zh-cn"/> 中文
		</td>
	</tr>
	<tr>
		<td >Short bio:
		</td>
		<td >
		</td>

		<td>
			<textarea id="intro" name="intro" rows="4" cols="20">{{intro|escape}}</textarea>
		</td>
	</tr>

	<tr>
		<td colspan="3" align="center">
			<input id="submit" type="submit" value="{{submit}}" class="MyButton"/>
		</td>
	</tr>
</table>
</form>
</fieldset>
</div>
{% endblock %}
